<!DOCTYPE html>
<html>
<head>
    <title>{{ movie.title }} 排片表</title>
</head>
<body>
    <h2>{{ movie.title }} 场次列表</h2>
    <ul>
        {% for schedule in schedules %}
        <li>
            <a href="{% url 'ticket:select_seats' schedule.id %}">
                {{ schedule.screening_time|date:"Y-m-d H:i" }} 
                {{ schedule.hall.name }} 厅
                ￥{{ schedule.price }}
            </a>
        </li>
        {% endfor %}
    </ul>
</body>
</html>